package com.zzyl.nursing.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzyl.common.annotation.Excel;
import com.zzyl.common.core.domain.BaseEntity;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 护理任务对象 nursing_task
 * 
 * @author ruoyi
 * @date 2024-09-27
 */
@Data
public class NursingTasksDto extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 项目id */
    @Excel(name = "项目id")
    private Long projectId;

    /** 老人姓名 */
    @Excel(name = "老人姓名")
    private String elderName;


    /** 状态  1待执行 2已执行 3已关闭  */
    @Excel(name = "状态  1待执行 2已执行 3已关闭 ")
    private Integer status;


    @TableField (exist = false)
    private List<String> NursingName;

    private String nurseId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    private String projectName;





}
